<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/list.css">
    <script src="/lib/requirejs/require.min.js" data-main="/js/list"></script>
    <title>Document</title>
</head>
<body>
    <header></header>
    <main>
        <div class="wrap">
            <div class="list_nav">当前位置: 
                <a href="/">首页</a> 
                <code>&gt;</code> 
                <a href="list.html">蛋糕</a>
            </div>
            <div class="cake">
                <div class="cake_nav">蛋糕分类:</div>
                <ul>
                    <!-- <li class="li1" style="display:none;"><a href="list">不限</a></li> -->
                    <li><a href="list.html">【新品上市】</a></li>
                    <li><a href="list.html">天然奶油蛋糕</a></li>
                    <li><a href="list.html">法式蛋糕</a></li>
                    <li><a href="list.html">乳酪蛋糕</a></li>
                    <li><a href="list.html">慕斯蛋糕</a></li>
                    <li><a href="list.html">巧克力风味蛋糕</a></li>
                    <li><a href="list.html">大型庆典蛋糕</a></li>
                </ul>
            </div>
            <div class="list_list">
                <div class="goods">
                        
                </div>
            </div>
        </div>
            
        <div class="flex" style="top: 630px;">
            <div class="wrap">
                    <div class="l_top"><p><b>蛋糕口味</b></p></div>
                    <div class="l"><a href="list.html"><p>天然奶油</p></a></div>
                    <div class="l"><a href="list.html"><p>慕斯</p></a></div>
                    <div class="l"><a href="list.html"><p>芝士</p></a></div>
                    <div class="l"><a href="list.html"><p>巧克力</p></a></div>
                    <div class="l"><a href="list.html"><p>2小时闪送</p></a></div>
                    
                
                </div>
                <div class="flex_bottom" style="display: none;">
                <p>返回顶部</p>
            </div> 
        </div>
        
    </main>
    <footer></footer>
    <script type="text/html" id="list-template">
        {{each products curr}}
        <div class="list_wrap">
            <div class="id" style="display:none;" >{{curr.id}}</div>
            <div class="goods_img">
                <a href="/html/detail.html?id={{curr.id}}" target="_blank"><img src="{{curr.img}}" class="goods_img" alt="分享蛋糕【双12聚会5折推荐款】"></a>
            </div>
            <div class="goods_content">
                <div class="goods_content_text">
                    <div class="goods_name">
                        <a class="name_00" href="/html/detail.html?id={{curr.id}}" target="_blank">{{curr.name}}</a>
                    </div>
                    <div class="goods_introduce">/{{curr.title}}/</div>
                    <div class="goods_activity">
                        {{curr.activity}}:<br/>
                        {{curr.activity1}};   <br/>  
                        {{curr.activity2}}       
                    </div>
                </div>
           
                    
                <div class="goods_content_price">
                    <div class="like">
                        <a href="#" class="icon_like" t="1177"></a>
                        <img src="../images/like.png">
                        <span class="like_num">{{curr.like}}</span>人喜欢
                    </div>
                    <div class="clear"></div>
                    <div class="price  price_promote" style="height:30px;margin-top:40px;width:230px;">
                        <span id="price_rmb">￥</span>
                        <span id="new">{{curr.price}}</span>
                        <ul id="price_right">
                            <li id="old">原价：￥{{curr.old}}</li>
                            <li id="pro"><span id="pro_old">.00</span>/<span class='goods_size'>{{curr.size}}×{{curr.size}}cm</span>cm</li>
                        </ul>
                    </div>
                    <div class="btn">
                        <button class="btn_goods">立即购买</button>
                        <!-- <div class="submit_goods"><a href="/html/cart.html" >立即购买</a></div> -->
                        <div class="submit_goods"><a href="/html/detail.html?id={{curr.id}}" title="" target="_blank">查看详情</a></div>
                    </div>
                </div> 
                
            </div>
            
        </div>
        {{/each}}
    </script>
    
    
</body>
</html>